﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace Endos.Wodo.Persistence
{
    public interface IFetch<T>
    {
        IThenFetch<TProperty> Fetch<TProperty>(Expression<Func<T, TProperty>> expression);
        IThenFetch<TProperty> Fetch<TProperty>(Expression<Func<T, IEnumerable<TProperty>>> expression);
    }
}
